d/rules: Prefer stdlibc (iconv) setting over ICU
authorMathieu Malaterre <malat@debian.org>
Thu, 20 May 2021 09:24:10 +0000 (11:24 +0200)
committerMathieu Malaterre <malat@debian.org>
Thu, 20 May 2021 09:24:10 +0000 (11:24 +0200)
Reduce the number of dependencies by removing usage of ICU, since stdlibc
(iconv) can be used directly from the libc.6.

DCMTK currently recommend usage of libiconv for support of all
CharacterSet as found in DICOM. Since libiconv is not provided in
Debian, fallback to reduced support of CharacterSet from stdlib (iconv).

See discussion at Bug #988644#25

debian/rules

index 1920e1ca8fa46a8e6cf0f41ca2adcbc4cdb9c3e7..210cd878ac848fa68b24f9d9db929852e81437fc 100755 (executable)
@@ -39,6 +39,7 @@ CMAKE_EXTRA_FLAGS += -DCMAKE_BUILD_TYPE:STRING=None \
  -DCMAKE_VERBOSE_MAKEFILE=ON \
  -DCMAKE_INSTALL_DATADIC:STRING=share/libdcmtk16 \
  -DCMAKE_SKIP_RPATH:BOOL=OFF \
+ -DDCMTK_ENABLE_CHARSET_CONVERSION:STRING='stdlibc (iconv)' \
  -DCMAKE_CXX_STANDARD:STRING=14
 
 override_dh_auto_configure: